package cn.org.timespace.easyframe.service.permission;

import java.util.List;

import cn.org.timespace.easyframe.action.permission.OperationLogModel;
import cn.org.timespace.easyframe.model.permission.OperationLog;
import cn.org.timespace.easyframe.util.pager.Pager;

/**
 * <p>
 * 用户操作日志接口
 * </p>
 * 
 * @version 1.0, 11/02/11
 * @since 1.0
 * @author wubo
 */

public interface OperationLogService {
	
	public List<OperationLog> findByCondition(OperationLogModel model);
	
	public List<Object> findByCondition(OperationLogModel model,Pager p);
	
	public void save(OperationLog entity);
	
	/**
	 * 保存用户操作日志
	 * @param dicMode          模块
	 * @param dicFunCode       功能
	 * @param operationCode    操作
	 * @param content          内容
	 * @param remark           备注
	 * @param userId           用户ID
	 */
	public void save(String dicMode,String dicFunCode,String operationCode,String content,String remark,String userId);

}
